# bookmerger

A tiny Python script to merge multiple bookmark HTML exports into one. It supports both Firefox and Chromium style HTML bookmark exports. It is limited in function, but it does the job.

I've tested with Iceweasel/IceCat and Brave/Iridium bookmark exports. Feel free to try on other variants and report a bug if you find one.


## Features
- Small script
- Written in Python, so should work on almost any computer in the world
- No extra dependencies to install (only Python is needed to run)


## Limitations
- Does not merge extra information, such as, tags, icon, time-date etc.
- Does not retain category
- Does not maintain indentation/coding style of the original files


## Usage

```
./bookmerger.py bookmarks_1.html bookmarks_2.html --output merged.html
```

You can pass unlimited number of input files.

```
./bookmerger.py bookmarks_1.html bookmarks_2.html bookmarks_3.html bookmarks_4.html bookmarks_5.html --output merged.html
```

You can ommit `--output` to print the output on std output:

```
./bookmerger.py bookmarks_1.html bookmarks_2.html
```

For details you can run `./bookmerger.py -h`.


## License

MIT (Expat) License
